<table>
  <tr>
    <td>
      <div id="search_form">
          <table>
            <tr>
              <td>
            <g:textField name="query" value="" size="10" />
            <g:observe subject="query" reference="query_reference" controller="search" action="results" update="search_results" />
            </td>
            <td>
            <input type="button" name="query" value="Search" onClick="${remoteFunction(controller="search",action:'results',update:'search_results', params:"'query=' + \$(\'query\').value" )}"/>
            </td>
            </tr>
          </table>
      </div>
    </td>
  </tr>
  <tr>
    <td>
      <div id="search_results">
        <g:include controller="search" action="results" />
      </div>
    </td>
  </tr>
</table>
